#include <stdio.h>
int main(){
    char str[20] = {'\0'};
    float num1 = 0,num2 = 0,num3 = 0;
    int j = 0;
    for(int i = 1;str[i-1] != ';';i++)
        scanf("%c",&str[i]);
    scanf("%f,%f,%f",&num1,&num2,&num3);
    printf("The each subject score of No. ");
    while(str[++j] != ';')
        printf("%c",str[j]);
    printf(" is %.2f, %.2f, %.2f.",num1,num2,num3);
    return 0;
}
